MailerLite\Includes\Shared\Api\MailerLiteAPI B

Total Complexity 88
Dependencies 1
Dependents 1
Total lines 1,322
Lines of code 489
Logical lines of code 226
Comment lines 544
Methods 55
Properties 4

Methods 55

Method Rating Maintainability Complexity Lines of code
syncOrder()
A
43 13 42
parseResponse()
S
57 5 18
syncProduct()
S
53 4 23
syncCustomer()
S
54 4 22
getGroups()
S
54 4 21
getFields()
S
58 3 16
getDoubleOptin()
S
64 4 10
setConsumerData()
S
51 2 29
syncCustomerWooCommerce()
S
56 2 19
updateCart()
S
60 2 12
createShop()
S
58 1 15
deleteCartItem()
S
71 1 5
deleteCategory()
S
71 1 5
responseCode()
S
82 1 3
replaceProductCategories()
S
64 1 9
importProducts()
S
69 1 6
deleteProduct()
S
71 1 5
syncCategory()
S
65 1 8
importCategories()
S
69 1 6
updateCustomer()
S
64 1 9
getResponseBody()
S
82 1 3
batch()
S
72 1 5
deleteCustomer()
S
71 1 5
fetchCustomer()
S
71 1 5
createGroup()
S
70 1 6
addCartItem()
S
71 1 5
replaceCartItems()
S
66 1 8
getAccountDetails()
S
82 1 3
getCartItems()
S
71 1 5
updateOrder()
S
64 1 9
__construct()
S
66 1 8
deleteOrder()
S
71 1 5
sendSubscriberData()
S
63 1 10
updateSubscriber()
S
91 1 2
updateSubscriberStatus()
S
66 1 8
searchSubscriber()
S
72 1 5
getGroupById()
S
75 1 4
checkMoreGroups()
S
66 1 8
getMoreGroups()
S
66 1 8
setDoubleOptin()
S
77 1 4
createField()
S
66 1 8
updateField()
S
70 1 6
saveOrder()
S
82 1 3
importCustomers()
S
69 1 6
sendOrderProcessing()
S
66 1 8
sendCart()
S
66 1 8
toggleShop()
S
65 1 9
getShopSettings()
S
72 1 5
validateAccount()
S
72 1 5
getShops()
S
72 1 5
getShop()
S
72 1 5
deleteshop()
S
72 1 5
validateKey()
S
72 1 5
importOrders()
S
67 1 7
fetchOrder()
S
71 1 5